@import 'variables';
@import 'mixins';

.touch-video-content {
    > video {
        width: 100%;
        height: 360px;
    }
}

.touch-video-message {
    margin-bottom: 80px;
    background-color: #fff;
}

.touch-video-title {
    position: relative;
    padding: 20px 25px;
    background-color: #fff;
    > dl {
        > dt {
            float: @float-left;
            width: 70px;
            height: 70px;
            margin-right: 15px;
            border-radius: 100%;
            > img {
                width: 100%;
                height: 100%;
                border-radius: 100%;
            }
        }
        > dd {
            padding-top: 7px;
            padding-bottom: 7px;
            > h3 {
                font-size: @font-size-big;
                color: @text-dec-color;
            }
            > div {
                position: relative;
                font-size: @font-size-low;
                color: @text-gray-color;
                > span {
                    &:nth-child(1) {
                        &:after {
                            display: inline-block;
                            content: '';
                            width: 1px;
                            height: 10px;
                            margin-left: 10px;
                            margin-right: 10px;
                            background-color: @text-gray-color;
                            vertical-align: middle;
                        }
                    }
                }
            }
        }
    }
    > .touch-video-watch {
        position: absolute;
        right: 25px;
        top: 50%;
        .verticalMiddle();
        > span {
            display: inline-block;
            margin-left: 20px;
            padding: 5px 20px;
            font-size: @font-size-min;
            color: @text-gray-color;
            border: 1px solid @border-color;
            border-radius: @border-radius-base;
        }
    }
}

.touch-video-forward {
    display: flex;
    display: -webkit-flex;
    padding: 15px 25px;
    background-color: #fff;
    border-top: 1px solid @border-color;
    border-bottom: 1px solid @border-color;
    > div {
        flex-grow: 1;
        font-size: @font-size-low;
        text-align: center;
        color: @text-base-color;
        > a {
            display: inline-block;
            padding-left: 40px;
            line-height: 35px;
            background-position: left center;
            background-repeat: no-repeat;
            background-size: 30px auto;
        }
        &:nth-child(1) {
            > a {
                background-image: url(../images/icon/icon-zan1.png);
            }
        }
        &:nth-child(2) {
            > a {
                background-image: url(../images/icon/icon-share.png);
            }
        }
        &:nth-child(3) {
            > a {
                background-image: url(../images/icon/icon-forward.png);
            }
        }
        &:nth-child(4) {
            > a {
                background-image: url(../images/icon/comment-icon2.png);
            }
        }
    }
}

.touch-video-comment {
    background-color: #fff;
    > ul {
        padding-left: 25px;
        padding-right: 25px;
        > li {
            padding-top: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid @border-color;
            > div {
                margin-bottom: 15px;
                > span {
                    &:nth-child(1) {
                        float: @float-left;
                        font-size: @font-size-big;
                        color: @text-dec-color;
                        > img {
                            width: 60px;
                            height: 60px;
                            margin-right: 15px;
                            border-radius: 100%;
                            vertical-align: middle;
                        }
                    }
                    &:nth-child(2) {
                        float: @float-right;
                        font-size: @font-size-low;
                        color: @text-gray-color;
                        line-height: 60px;
                    }
                }
            }
            > p {
                font-size: @font-size-small;
                color: @text-base-color;
            }
        }
    }
}

.touch-video-evaluate {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    padding: 25px;
    background-color: #fff;
    box-shadow: 0 -1px 4px @box-shadow; 
    > input {
        width: 480px;
        padding: 5px;
        margin-right: 35px;
        font-size: @font-size-normal;
        border: 0;
        border-bottom: 1px solid @border-color;
    }
    > button {
        display: inline-block;
        background-color: transparent;
        font-size: @font-size-base;
        color: @text-gray-color;
        border: 0;
        vertical-align: middle;
    }
}